package routers

import (
	"github.com/astaxie/beego"
	"http_monitor/controllers"
)

func init() {
	beego.Router("/", &controllers.MainController{})
	//beego.Router("/metrics", &controllers.MetricController{})
	beego.Router("/login", &controllers.LoginController{})
	beego.Router("/index", &controllers.IndexController{})
	beego.Router("/settings", &controllers.SettingsController{})
	beego.Router("/apis", &controllers.ApisController{})
	beego.Router("/api/del/:id", &controllers.ApisController{}, "get:Del")
	beego.Router("/apis/add", &controllers.ApisController{}, "get:AddGet;post:AddPost")
}
